package top.fangw.admin.mapper;

import org.apache.ibatis.annotations.Param;
import top.fangw.admin.pojo.entity.SysUserJoinOrg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 用途：存储用户和机构的关联信息 Mapper 接口
 * </p>
 *
 * @author fangw
 * @since 2024-03-02
 */
@Mapper
public interface SysUserJoinOrgMapper extends BaseMapper<SysUserJoinOrg> {

    /**
     * 根据机构ID删除关联信息
     * @param orgId 机构ID
     */
    void deleteByOrgId(@Param("orgId") String orgId);
}
